<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Framework by Gaétan Collaud: Référence de la classe AbstractSql</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&nbsp;associées</span></a></li>
      <li class="current"><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="hierarchy.html"><span>Hiérarchie&nbsp;des&nbsp;classes</span></a></li>
      <li><a href="functions.html"><span>Champs&nbsp;de&nbsp;donnée</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Référence de la classe AbstractSql</h1><!-- doxytag: class="AbstractSql" --><!-- doxytag: inherits="ItfSql" -->
<p>Classe abstraite servant au gestionnaire de base de données.  
<a href="#_details">Plus de détails...</a></p>
<div class="dynheader">
Graphe d'héritage de AbstractSql:</div>
<div class="dynsection">
 <div class="center">
  <img src="class_abstract_sql.png" usemap="#AbstractSql_map" alt=""/>
  <map id="AbstractSql_map" name="AbstractSql_map">
<area href="interface_itf_sql.html" alt="ItfSql" shape="rect" coords="0,0,76,24"/>
<area href="class_my_sql.html" alt="MySql" shape="rect" coords="0,112,76,136"/>
</map>
 </div>
</div>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Fonctions membres publiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_sql.html#a922e26168a45b0f556fff61e13a0b39c">getNbQueries</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retourne le nombre de requêtes effectuées sur la base de donnnées.  <a href="#a922e26168a45b0f556fff61e13a0b39c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_sql.html#aa52e5a1a0af358cd08723d4f08e4a5e4">getTimeTotal</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retourn le temps total nécessaire à la base de données.  <a href="#aa52e5a1a0af358cd08723d4f08e4a5e4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_sql.html#a35fb5d60c0b3fdf6310764d5cab8b941">isBoolSupport</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retourne si le type booléen est supporté par ce type de base de données.  <a href="#a35fb5d60c0b3fdf6310764d5cab8b941"></a><br/></td></tr>
<tr><td colspan="2"><h2>Fonctions membres protégées</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_sql.html#a8c43a264c8a8fe082f097b3faf9b8bf6">addTime</a> ($time, $type= 'req')</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ajoute un temps d'éxécution.  <a href="#a8c43a264c8a8fe082f097b3faf9b8bf6"></a><br/></td></tr>
<tr><td colspan="2"><h2>Attributs protégés</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_sql.html#a66de22ede367211e9fdb45b279050305">$boolSupport</a> = true</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_sql.html#a956617395b85e98d907df712f6d0d3f7">$connect</a> = false</td></tr>
<tr><td colspan="2"><h2>Attributs privés</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_sql.html#a002c67c8718d711692c72bdffa1c2f24">$nbr_queries</a> = 0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_sql.html#a55220541dd7f098bb644b1635de87bbc">$temps</a> = array('connect' =&gt; 0, 'req' =&gt; 0, 'close' =&gt; 0)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Description détaillée</h2>
<p>Classe abstraite servant au gestionnaire de base de données. </p>
<dl class="author"><dt><b>Auteur:</b></dt><dd>Gaétan Collaud </dd></dl>
<hr/><h2>Documentation des fonctions membres</h2>
<a class="anchor" id="a8c43a264c8a8fe082f097b3faf9b8bf6"></a><!-- doxytag: member="AbstractSql::addTime" ref="a8c43a264c8a8fe082f097b3faf9b8bf6" args="($time, $type= 'req')" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">addTime </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>time</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>type</em> = <code>'req'</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [final, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Ajoute un temps d'éxécution. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>flaod</em>&nbsp;</td><td>$time le temps </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$type le type de requête (connect|req|close) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a922e26168a45b0f556fff61e13a0b39c"></a><!-- doxytag: member="AbstractSql::getNbQueries" ref="a922e26168a45b0f556fff61e13a0b39c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getNbQueries </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [final]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retourne le nombre de requêtes effectuées sur la base de donnnées. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>int le nombre de requêtes </dd></dl>

<p>Implémente <a class="el" href="interface_itf_sql.html#a922e26168a45b0f556fff61e13a0b39c">ItfSql</a>.</p>

</div>
</div>
<a class="anchor" id="aa52e5a1a0af358cd08723d4f08e4a5e4"></a><!-- doxytag: member="AbstractSql::getTimeTotal" ref="aa52e5a1a0af358cd08723d4f08e4a5e4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getTimeTotal </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [final]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retourn le temps total nécessaire à la base de données. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>int le temps en seconde </dd></dl>

<p>Implémente <a class="el" href="interface_itf_sql.html#aa52e5a1a0af358cd08723d4f08e4a5e4">ItfSql</a>.</p>

</div>
</div>
<a class="anchor" id="a35fb5d60c0b3fdf6310764d5cab8b941"></a><!-- doxytag: member="AbstractSql::isBoolSupport" ref="a35fb5d60c0b3fdf6310764d5cab8b941" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">isBoolSupport </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retourne si le type booléen est supporté par ce type de base de données. </p>

<p>Implémente <a class="el" href="interface_itf_sql.html#a35fb5d60c0b3fdf6310764d5cab8b941">ItfSql</a>.</p>

</div>
</div>
<hr/><h2>Documentation des champs</h2>
<a class="anchor" id="a66de22ede367211e9fdb45b279050305"></a><!-- doxytag: member="AbstractSql::$boolSupport" ref="a66de22ede367211e9fdb45b279050305" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$boolSupport = true<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a956617395b85e98d907df712f6d0d3f7"></a><!-- doxytag: member="AbstractSql::$connect" ref="a956617395b85e98d907df712f6d0d3f7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$connect = false<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a002c67c8718d711692c72bdffa1c2f24"></a><!-- doxytag: member="AbstractSql::$nbr_queries" ref="a002c67c8718d711692c72bdffa1c2f24" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$nbr_queries = 0<code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a55220541dd7f098bb644b1635de87bbc"></a><!-- doxytag: member="AbstractSql::$temps" ref="a55220541dd7f098bb644b1635de87bbc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$temps = array('connect' =&gt; 0, 'req' =&gt; 0, 'close' =&gt; 0)<code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>La documentation de cette classe a été générée à partir du fichier suivant :<ul>
<li>libs/bdd/<a class="el" href="_abstract_sql_8php.html">AbstractSql.php</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Généré le Sun May 30 20:39:44 2010 pour Framework by Gaétan Collaud par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
